import Vue from 'vue';
import Router from 'vue-router';
Vue.use(Router);

export default new Router({
    scrollBehavior: () => ({
        y: 0
    }),
    routes: [
        { path: '/', redirect: '/welcome' },
        { path: '/welcome',name:'welcome',component:require('../views/welcome.vue')},//欢迎页面
    ]
})